package cn.wolfcode.trip.base.domain;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class UserMessage {
    private Long user1Id;

    private Long user2Id;

    private String msg;
    @DateTimeFormat(pattern = "MM-dd HH:mm")
    private Date time;

}